﻿using System;
using System.Collections.Generic;
using System.Text;
using Dotnet.TopApi.Response;

namespace Dotnet.TopApi.Request
{
    public class GetOverduePatrolDailyRequest : ITopRequest<GetOverduePatrolDailyResponse>
    {
        public string Name { get; set; }
        public string GetApiName()
        {
            //throw new NotImplementedException();
            return "GetOverduePatrolDaily";
        }

        public IDictionary<string, string> GetHeaders()
        {
            //throw new NotImplementedException();
            TopDictionary parameters = new TopDictionary();
            parameters.Add("rnd", "0.6491828084756373");
            parameters.Add("method", "GET");
            // parameters.Add("Limit", 3);
            //parameters.Add("Type", 0);
            //parameters.AddAll(this.otherParameters);
            return parameters;
        }

        public IDictionary<string, string> GetParameters()
        {
            TopDictionary parameters = new TopDictionary();

            parameters.Add("rnd", "0.6491828084756373");
            parameters.AddHeaders("method", "GET");
            parameters.AddHeaders("Authorization", "Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImIzZDE3MGZiMjM2MzQ2MTkxZWI0ZTllNjBjMTIxNDMzIiwidHlwIjoiSldUIn0.eyJuYmYiOjE2NjAxMzQyODcsImV4cCI6MTY2MDIyMDY4NywiaXNzIjoiaHR0cDovLzU4LjQ5LjE2OS4yMjY6NTAwMiIsImF1ZCI6WyJXZVNhZmUiLCJodHRwOi8vNTguNDkuMTY5LjIyNjo1MDAyL3Jlc291cmNlcyJdLCJjbGllbnRfaWQiOiJ3ZXNhZmUtZnJvbnQiLCJzdWIiOiIzMDc4MSIsImF1dGhfdGltZSI6MTY2MDEzNDI4NywiaWRwIjoibG9jYWwiLCJ0ZW5hbnQiOiIzMDkiLCJyb2xlcyI6IkFkbWluIiwic2NvcGUiOlsib3BlbmlkIiwicHJvZmlsZSJdfQ.bo1zNH6MbMZKj6MfcdlvrqXAJ-9tbP0iwboRy5veeJufeOESEow1h-3DRBFAaZu08x6YRos7AljXE8EDDjQKkdl2vwtJemAI5r3XzTs6eAHFZRk9qhoUjeCfqKWuYh7CWKxTQse2G_a-0RSVXY4rXfuV2EG6ArlD6xautbMVZKEq-nOWvvgnCnYCyM1RhX7912KIFFlghCLRcoYLL3tk6RK9xTq_Kn1hrM8Toa7xxJa5MdaXTk1mGY5TgCcjyiESnEp3Pc7krtDTbqTVJFGucysYxkLHBQuLmjwXwf1Kj9pp_bOQ2A9iJwqNcwXF8hDAGSLs5U-Dn0GaXX5aLo0p5Q");
           
            // parameters.Add("Limit", 3);
            //parameters.Add("Type", 0);
            //parameters.AddAll(this.otherParameters);
            return parameters;
        }

        public void Validate()
        {
            //throw new NotImplementedException();
        }
    }
}
